package com.tcs.model.datastandardization;

public class ResponseStanBean extends  StandardizationCommonBean {

    @Override
    protected Integer length() {
        return null;
    }

    // 错误信息
    private String errorMessage;

    public ResponseStanBean(int length, String message, int errorCode, String errorMessage) {
        super(length, message, errorCode);
        this.errorMessage = errorMessage;
    }

    public ResponseStanBean(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public ResponseStanBean(){}

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    @Override
    public String toString() {
        return "ResponseStanBean{" +
                "errorMessage='" + errorMessage + '\'' +
                ", length=" + length +
                ", message='" + message + '\'' +
                ", errorCode=" + errorCode +
                '}';
    }
}
